import whiteLayout from '@/layout/whiteLayout.vue'

const message = () => import('@views/message/index.vue')
const detail = () => import('@views/message/detail.vue')

const messageRoute  = {
    path : '/message',
    component: whiteLayout,
    name:'',
    meta:{
        title: '消息通知',
        needAuth: true,
    },
    children:[
        {
            path: 'list',
            component: message,
            meta:{
                title:'消息列表',
                needAuth: true,
            }
        },
        {
            path: 'detail',
            component: detail,
            meta:{
                title:'消息详情',
                needAuth: true,
            }
        },
    ]
    

}
export default messageRoute;